<!--# layout("/common/layout.html",{"jsBase":"/js/admin/user/"}){ -->

<form class="layui-form layui-form-pane" id="addForm" >
	<div class="layui-row">
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">用户姓名<em style="color: red;">*</em></label>
				<div class="layui-input-inline">
					<input type="text" name="userName" autocomplete="off" lay-verify="required" placeholder="请输入..." class="layui-input" value="">
				</div>
			</div>

		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">帐号<em style="color: red;">*</em></label>
				<div class="layui-input-inline">
					<input type="number" name="code" lay-verify="phone|required" placeholder="请输入手机号作为帐号" autocomplete="off" class="layui-input" value="">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">选择角色<em style="color: red;">*</em></label>
				<div class="layui-input-inline">
					<layui:roleInput name="roleId" type="R0" lay-verify="required"/>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">所在事业部<em style="color: red;">*</em></label>
				<layui:orgInput style='layui-input-inline' name="orgId" id="orgId" value=""></layui:orgInput>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">密码</label>
				<div class="layui-input-inline">
					<input type="text" autocomplete="off" value="初始密码默认:888888" readonly="readonly" class="layui-input" value="">
					<input type="hidden" name="password" value="888888"  />
					<input type="hidden" name="status" value="1"  />
				</div>
			</div>
		</div>
	</div>
	<!--<div class="layui-row">-->
		<!--<layui:attachment name="attachmentId" batchFileUUID="${uuid()}" isNew="true" bizType="User"/>-->
	<!--</div>-->
	<layui:submitButtons id="saveUser" />
</form>
<!--#} -->
<script>
layui.use(['add'], function(){
  var userAdd = layui.add
  userAdd.init();
});

</script>

